home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / pgm_tool / lu62 / novell / inc / ipxhdr.inc < prev    next >
Text File  |  1992-11-28  |  3KB  |  88 lines

  1. MY_SOCKET EQU  4444h    ; application socket number
  2. ;*
  3. ;*   Structure for ECB for IPX protocol.
  4. ;*
  5. IPXECB   STRUC
  6. Link     DD    0   ; IPX use it for creating ECB's queue
  7. ESR      DD    0   ; address of Event Service Routine
  8. InUse    DB    0   ; In Use indicator
  9.                    ; 0ffh - ecb's in use for transmitting
  10.                    ; 0feh - ecb's "listening"
  11.                    ; 0fdh - ecb has been schedulled with AES
  12.                    ; 0fbh - a send or receive event has occured
  13.                    ; 0 - request has beed completed
  14. RetCode  DB    0   ; completion code
  15.                    ; for SEND
  16.                    ; 0 - SEND was completed successfully
  17.                    ; 0ffh - physically unable to send the packet
  18.                    ; 0feh - dest. invalid or hardware failure
  19.                    ; 0fdh - total length less then 30 or too large
  20.                    ; 0fch - the SEND request was cancelled
  21.                    ; for RECEIVE
  22.                    ; 0 - the packet was received successfully
  23.                    ; 0ffh - socket closed
  24.                    ; 0fdh - packet overflow
  25.                    ; 0fch - the listen request was cancelled
  26. SocNum   DW    0   ; sockets number
  27. Rsrv1    DB    4 dup(0) ; work araea for IPX
  28. Rsrv2    DB   12 dup(0) ; driver's work area
  29. PAddr    DB    6 dup(0) ; partner's address
  30. FragNum  DW    0   ; count of fragments; for SEND must be greater then zero.
  31. ;*
  32. ;*  Structure for fragment's description
  33. ;*
  34. FAddr    DD    0   ; address of first fragment
  35. FLt      DW    0   ; length of first fragment
  36. SAddr    DD    0   ; address of second fragment
  37. SLt      DW    0   ; length of second fragment
  38. IPXECB   ENDS
  39.  
  40. ;*
  41. ;*   Structure for AES ECB
  42. ;*
  43. AESECB   STRUC
  44. LinkAES  DD    0   ; IPX use it for creating ECB's queue
  45. ESRAES   DD    0   ; address of Event Service Routine
  46. InUseAES DB    0   ; In Use indicator
  47. AesWork  DB  5 dup (?) ; AES workspace
  48. AESECB   ENDS
  49.  
  50.  
  51. ;*
  52. ;*   IPX header
  53. ;*
  54. IPXHDR   STRUC
  55.  
  56. CRC      DW    0   ; control sum of this header
  57.                    ; not used by NetWare v. 2.0.
  58. PLt      DW    0   ; total pocket's length  (max. - 546 + 30)
  59. CtlSnd   DB    0   ; send control feild
  60. PType    DB    4   ; pocket type
  61.                    ; may be 0 or 4
  62.  
  63. NtDest   DD    0   ; destignation network number
  64.                    ; 0 if the same network
  65. NdAddr   DB 6 dup(0) ; address of destignation node
  66.                    ; this is a physical address; and it's
  67.                    ; length depends on harware.
  68.                    ; 6 dup (0ffh) indicates broadcast message,
  69.                    ; may or may not supported.
  70. SkDest   DW    0   ; destignation socket
  71.  
  72. NtSour   DD    0   ; source network number (use by bridge)
  73.                    ; may be 0
  74. NdSour   DB 6 dup(0) ; address of source node
  75. SkSour   DW    0   ; source socket
  76.  
  77. IPXHDR   ENDS
  78.  
  79. INTADDR  STRUC
  80. ;*
  81. ;*  Structure for InterNetwork Address description
  82. ;*
  83. NetwAddr DB    4 DUP(0)  ; for same network
  84. NodeAddr DB    6 DUP(?)  ; node name
  85. SocketFl DW    MY_SOCKET ; socket field
  86.  
  87. INTADDR  ENDS
  88.